#ifndef BOTTOMDOCKTITLEWIDGET_H
#define BOTTOMDOCKTITLEWIDGET_H

#include <QWidget>
#include <QAbstractButton>

namespace Ui {
    class BottomDockTitleWidget;
}

enum DockShowMode{
    Show,
    Hide,
    ShowRun,
    ShowSearch,
    ShowErrors
};

class BottomDockTitleWidget : public QWidget
{
    Q_OBJECT
public:
    explicit BottomDockTitleWidget(QWidget *parent = 0);
    virtual ~BottomDockTitleWidget();

    //virtual QSize minimumSizeHint() const;
    //virtual QSize sizeHint() const;
signals:
    void modeSelected(DockShowMode);
    void stopProject();
public slots:
    void dockModeSelected(DockShowMode);
    void projectRunned(bool);
private slots:
    void btnToggled(QAbstractButton*);
    void onShowHideToggled(bool);
private:
    Ui::BottomDockTitleWidget *ui;
};

#endif // BOTTOMDOCKWIDGET_H
